package com.zjitc.dao;

import com.zjitc.model.Category;
import com.zjitc.model.CategorySecond;
import com.zjitc.model.Product;
import com.zjitc.model.User;
import java.util.List;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/4/19 15:41
 * @description:
 */
public interface AdminProductDao {

  List<User> finduserList();

  List<Category> findCatefory();

  List<CategorySecond> findCateforySecond();

  void addcategory(Integer cid, String cname);

  void addcategorySecond(Integer csid, String csname, Integer cid);

  void deleteCategory();

  void deletecategorySecond();

    List<Product> findPid();

  void adminDeleteByPid(Integer pid);
}
